﻿using System;
using System.Collections.Generic;
using DevExpress.ExpressApp.DC;
namespace Top.Module.Domain
{
    [DomainComponent]
    public interface ITrade
    {
        //begin
        DateTime EndTime
        {
            get;set;
        }
        string BuyerMessage
        {
            get;set;
        }
        string ShippingType
        {
            get;set;
        }
        string BuyerCodFee
        {
            get;set;
        }
        string SellerCodFee
        {
            get;set;
        }
        string ExpressAgencyFee
        {
            get;set;
        }
        string AdjustFee
        {
            get;set;
        }
        TradeStatus Status
        {
            get;set;
        }
        string BuyerMemo
        {
            get;set;
        }
        string SellerMemo
        {
            get;set;
        }
        DateTime PayTime
        {
            get;set;
        }
        DateTime Modified
        {
            get;set;
        }
        long BuyerObtainPointFee
        {
            get;set;
        }
        string CodFee
        {
            get;set;
        }
        long BuyerFlag
        {
            get;set;
        }
        long SellerFlag
        {
            get;set;
        }
        string TradeFrom
        {
            get;set;
        }
        string AlipayWarnMsg
        {
            get;set;
        }
        string AlipayId
        {
            get;set;
        }
        string CodStatus
        {
            get;set;
        }
        string BuyerArea
        {
            get;set;
        }
        string SellerNick
        {
            get;set;
        }
        string BuyerNick
        {
            get;set;
        }
        string Title
        {
            get;set;
        }
        string Type
        {
            get;set;
        }
        DateTime Created
        {
            get;set;
        }
        string Iid
        {
            get;set;
        }
        string Price
        {
            get;set;
        }
        string PicPath
        {
            get;set;
        }
        long Num
        {
            get;set;
        }
        string Tid
        {
            get;set;
        }
        string AlipayNo
        {
            get;set;
        }
        string Payment
        {
            get;set;
        }
        string DiscountFee
        {
            get;set;
        }
        string SnapshotUrl
        {
            get;set;
        }
        string Snapshot
        {
            get;set;
        }
        bool SellerRate
        {
            get;set;
        }
        bool BuyerRate
        {
            get;set;
        }
        string TradeMemo
        {
            get;set;
        }
        long PointFee
        {
            get;set;
        }
        long RealPointFee
        {
            get;set;
        }
        string TotalFee
        {
            get;set;
        }
        string PostFee
        {
            get;set;
        }
        string BuyerAlipayNo
        {
            get;set;
        }
        string ReceiverName
        {
            get;set;
        }
        string ReceiverState
        {
            get;set;
        }
        string ReceiverCity
        {
            get;set;
        }
        string ReceiverDistrict
        {
            get;set;
        }
        string ReceiverAddress
        {
            get;set;
        }
        string ReceiverZip
        {
            get;set;
        }
        string ReceiverMobile
        {
            get;set;
        }
        string ReceiverPhone
        {
            get;set;
        }
        DateTime ConsignTime
        {
            get;set;
        }
        string BuyerEmail
        {
            get;set;
        }
        string CommissionFee
        {
            get;set;
        }
        string SellerAlipayNo
        {
            get;set;
        }
        string SellerMobile
        {
            get;set;
        }
        string SellerPhone
        {
            get;set;
        }
        string SellerName
        {
            get;set;
        }
        string SellerEmail
        {
            get;set;
        }
        string AvailableConfirmFee
        {
            get;set;
        }
        bool HasPostFee
        {
            get;set;
        }
        string ReceivedPayment
        {
            get;set;
        }
        DateTime TimeoutActionTime
        {
            get;set;
        }
        bool Is3D
        {
            get;set;
        }
        IList<IOrder> Orders
        {
            get;
        }
        string NumIid
        {
            get;set;
        }
        string Promotion
        {
            get;set;
        }
        IList<IPromotionDetail> PromotionDetails
        {
            get;
        }
        string InvoiceName
        {
            get;set;
        }
        string AlipayUrl
        {
            get;set;
        }
        //end
    }

        public enum TradeStatus
        {
            TRADE_NO_CREATE_PAY,
            WAIT_BUYER_PAY,
            WAIT_SELLER_SEND_GOODS,
            WAIT_BUYER_CONFIRM_GOODS,
            TRADE_BUYER_SIGNED,
            TRADE_FINISHED,
            TRADE_CLOSED,
            TRADE_CLOSED_BY_TAOBAO,
        }
}
